package com.zmj.sy.mom.srv.aps.bean.vo.workshop;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
@ApiModel(description = "零件到零件开报工列表")
public class WorkshopPartToPartResVo {

    private Integer id;

    @ApiModelProperty("施工号")
    private String constructNo;

    @ApiModelProperty("工单号")
    private String workOrderCode;

    @ApiModelProperty("物料编码")
    private String materCode;

    @ApiModelProperty("物料名称")
    private String materName;

    @ApiModelProperty("工序编码")
    private String phaseCode;

    @ApiModelProperty("工序名称")
    private String phaseName;

    @ApiModelProperty("零件图")
    private String drawing;
    @ApiModelProperty("规格")
    private String standards;
    @ApiModelProperty("材质")
    private String texture;
    @ApiModelProperty("计划数量")
    private BigDecimal totalCount;
    @ApiModelProperty("完工数量")
    private BigDecimal finishCount;
    @ApiModelProperty("工单状态")
    private Integer status;
    @ApiModelProperty("当前工作组")
    private String groupCode;
    @ApiModelProperty("计划开始时间")
    private LocalDateTime planStartDateTime;
    @ApiModelProperty("计划完成时间")
    private LocalDateTime planEndDateTime;
    @ApiModelProperty("实际开始时间")
    private LocalDateTime actualStartDateTime;
    @ApiModelProperty("实际结束时间")
    private LocalDateTime actualEndDateTime;

    @ApiModelProperty("套料零件的ID")
    private Integer partId;

    @ApiModelProperty("套料零件的图纸")
    private String partPath;


    @ApiModelProperty("工单Id")
    private Integer apsWorkOrderId;

    @ApiModelProperty("下道工序编号")
    private String nextPhaseCode;

    @ApiModelProperty("下道工作组编号")
    private String nextGroupCode;


    @ApiModelProperty("工序顺序")
    private Integer phaseSeq;
}
